import re
import requests

r = requests.get('https://www.sanchuangedu.cn/')

msg = re.findall(r"(?<=img src=).+(?=\" alt)|(?<=url\().+(?=\);)",r.text)
print(msg)
file_name = 'D:\Picture'
for i in msg:
    url = 'https://www.sanchuangedu.cn/' + i
    png_name = file_name + '\\' + i.split('/')[-1]
    p = requests.get(url)
    fp = open(png_name,'wb')

